package com.imonsoft.sqm.service.sys;

import java.util.List;

import com.imonsoft.common.base.service.BaseService;
import com.imonsoft.sqm.pojo.sys.Function;
import com.imonsoft.sqm.pojo.sys.Role;
import com.imonsoft.sqm.pojo.sys.User;

public interface UserService extends BaseService<User> {
	public void deleteUser(List<Long> idList);

	public List<User> findUserByCode(String code);

	public boolean checkUser(User user);

	public List<Function> getFunctionListByUserId(Long userId);

	public void txSetUserRoles(User user, List<Long> roleList);
	
	public List<Role> getRoleListByUserId(Long userId);
}
